package com.woniu.p2p.serviceImpl;

import com.woniu.p2p.entity.UserBank;
import com.woniu.p2p.mapper.UserBankMapper;
import com.woniu.p2p.service.MyBankSetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyBankSetServiceImpl implements MyBankSetService {

    @Autowired
    UserBankMapper userBankMapper;

    @Override
    public List<UserBank> findAllUserBank(Integer id) {
        return userBankMapper.findAllUserBankById(id);
    }
}
